<title>处理意见审核核算及确认</title>
<div class="row">
	<div class="col-xs-12 greening_opinion">
		<form class="form-horizontal registerform">
			<div class="space-4"></div>
			<div class="space-4"></div>
			<!-- 武汉市建设项目配套绿地实施情况处理意见审查表-->
			<table width="700" height="412" border="1" align="center">
				<caption align="top">
					<span class="STYLE2">武汉市建设项目配套绿地实施情况<br /> 处理意见审查表
					</span> <br /> 编号：<?=$model['docket_no']?>
				</caption>
				<tr>
					<td width="62" rowspan="5">审核情况</td>
					<td width="124">建设单位</td>
					<td colspan="5"><?=$model['c_unit']?></td>
				</tr>
				<tr>
					<td>项目名称</td>
					<td colspan="5"><?=$model['p_name']?></td>
				</tr>
				<tr>
					<td>项目地址</td>
					<td width="66"><?=$model['p_address']?></td>
					<td width="63">园档案号</td>
					<td width="84"><?=$model['docket_no']?></td>
					<td width="118">净用地面积（M²）</td>
					<td width="130"><?=$model['jy_area']?></td>
				</tr>
				<tr>
					<td>应留绿地面积（M²）</td>
					<td><?=$model['sh_area']?></td>
					<!--审核面积  -->
					<td>应留公共绿地面积（M²）</td>
					<td><?=$model['shgy_area']?></td>
					<!-- 审核公共面积 -->
					<td>绿地率指标（%）</td>
					<td><?=number_format($model['sh_area']/$model['shgy_area']*100,2)?></td>
					<!-- 应留绿地面积（M²）/净用地面积（M²） -->
				</tr>
				<tr>
					<td>规划预留绿地面积（M²）</td>
					<td><?=$model['ghylld_area']?></td>
					<td>规划预留公共绿地面积（M²）</td>
					<td><?=$model['ghylgyld_area']?></td>
					<td>规划绿地率（%）</td>
					<td><?=number_format($model['ghylld_area']/$model['jy_area']*100,2)?></td>
					<!-- 规划预留绿地面积（M²）/净用地面积（M²） -->
				</tr>
				<tr>
					<td rowspan="3">实际完成情况</td>
					<td>绿化施工单位</td>
					<td><?=$model['lhsg_unit']?></td>
					<td>联系人</td>
					<td><?=$model['sgwd_linkman']?></td>
					<td>联系电话</td>
					<td><?=$model['sgdw_phone']?></td>
				</tr>
				<tr>
					<td>实留绿地面积（M²）</td>
					<td><?=$model['slld_area']?></td>
					<td>实留公共绿地面积（M²）</td>
					<td><?=$model['slgyld_area']?></td>
					<td>实留绿地率（%）</td>
					<td><?=number_format($model['slld_area']/$model['jy_area']*100,2)?></td>
					<!-- 实留绿地面积（M²）/净用地面积（M²） -->
				</tr>
				<tr>
					<td>绿地差额面积（M²）</td>
					<td><?=$model['sh_area']-$model['slld_area']?></td>
					<!-- 审核面积-实测面积 -->
					<td>误差率</td>
					<td><?=number_format(($model['sh_area']-$model['slld_area'])/$model['sh_area']*100,2)?></td>
					<!-- (审核面积-实测面积)/审核面积 -->
					<td>竣工时间</td>
					<td><?=$model['jg_time']?></td>
				</tr>
				<tr>
					<td rowspan="4">监督核查机构</td>
					<td colspan="2">误差率在5%以内的绿地面积（M²）</td>
					<td><p>
							<label> <input name="textfield3" type="text"
								value="误差率&lt;=5% 则显示绿地差额面积；否则提示；" />
							</label>
						</p></td>
					<td colspan="2">补缴绿化补偿费（元）</td>
					<td><label> <input name="textfield4" type="text"
							value="误差率在5%以内的绿地面积*700" />
					</label></td>
				</tr>
				<tr>
					<td colspan="2">公共绿地差额面积超总绿地差额面积（M²）</td>
					<td><label> <input name="textfield5" type="text"
							value="差额公共绿地面积&gt;差额面积  差额公共绿地面积-差额面积" />
					</label></td>
					<td colspan="2">补缴绿化补偿费（元）</td>
					<td><label> <input name="textfield6" type="text"
							value="公共绿地差额面积超总绿地差额面积*700" />
					</label></td>
				</tr>
				<tr>
					<td colspan="5">绿化补偿费合计（元）</td>
					<td>误差率在5%以内的绿地面积*700+公共绿地差额面积超总绿地差额面积*700</td>
				</tr>
				<tr>
					<td colspan="4"><p>经办人</p>
						<p><?=date('Y-m-d',time())?></p></td>
					<td><p>核查人</p>
						<p><?=date('Y-m-d',time())?></p></td>
					<td><p>批准人</p>
						<p><?=date('Y-m-d',time())?></p></td>
				</tr>
				<tr>
					<td>上级主管机关</td>
					<td colspan="6"><p>审核意见</p>
						<p>&nbsp;</p>
						<p>处事负责人 批准人</p>
						<p><?=date('Y-m-d',time())?></p></td>
				</tr>
				<tr>
					<td>备注</td>
					<td colspan="6"><textarea class="form-control"
							style="min-height: 120px;" id="hx_sh_remark" placeholder="备注信息"><?=$model['sh_remark']?></textarea></td>
				</tr>
			</table>

			<div class="space-4"></div>
			<div class="clearfix form-actions">
				<div class="col-md-offset-3 col-md-9">
					<button class="btn btn-info save" type="button" id="btnSubmit">
						<i class="ace-icon fa fa-check bigger-110"></i>确认
					</button>
					&nbsp; &nbsp;
					<button class="btn" type="button">
						<i class="ace-icon glyphicon glyphicon-remove bigger-110"></i>取消
					</button>
				</div>
			</div>
		</form>
	</div>
</div>
<script type="text/javascript">
var scripts = [null,null];
var $scope = $(".greening_opinion");
$('.page-content-area').ace_ajax('loadScripts', scripts, function(){
	$("#btnSubmit",$scope).click(function(){
		var content = $("#hx_sh_remark",$scope).val();
		$.post('/greening/ajax_green_opinion', {
			'id': '<?=$id?>',
			'content': content
		}, function(data) {
			if (200 === data.status) {
				message_box.show(data.data);
				gDialog.fClose();
				if (typeof(pageObj) != "undefined") {
					if (data.page < pageObj.get_page_count()) {
						pageObj.dec_page_count(); //-1
						if (pageObj.get_page_index() > pageObj.get_page_count()) {
							pageObj.go_page(pageObj.get_page_count());
						} else {
							pageObj.cur_page();
						}
					} else {
						pageObj.cur_page();
					}
				}
			} else {
				message_box.show(data.data);
			}
		}, 'json');
	});
})
</script>
